package demo3;

public class Money implements Cloneable{
    int num;

    public Money(int num) {
        this.num = num;
    }
@Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
